<br>
<div class="row">
	<div class="col-md-8">
		<h3 class=" sub_titulo">Seleccione Evento</h3>
	</div>
	<div class="col-md-4 text-right">
		<form action="/evento/index/categoria_id/{$categoria}/" method="get" class="form-inline">
			  <label for="textfield"></label>
			  <input type="text" name="search" id="search" value = "{$search}" class="form-control" />
			  <input type="submit" name="button" id="button" value="{$Tr->_('search')}" class="btn btn-default" />
			  {if !empty($search)} 
			      <br />
			      <div class="busqueda">
			      	 <a class="glyphicon glyphicon-remove" href="#" ></a>
			            <label > {$search}</label>
			        
			      </div>
			  {/if}
		</form>
	</div>
</div>
<div class="row">
	<div class="col-md-12">
		<table class="table">
			<thead>
                            {if $rows==null}<th style="background-color: #000870; text-align: center;">No hay resultados para su búsqueda</th>
                                {else}
                                    <tr style="background-color: #000870;"><th>Nombre</th><th>Descrpción</th><th>Lugar</th><th>Fecha</th><th>Hora</th><th></th></tr>
                            {/if}
			</thead>
			<tbody>
				{foreach $rows as $row}
			    	<tr>
				      	<td>{$row.nombre}</td>
				      	<td>{$row.descripcion}</td>
				      	<td>{$row.lugar}</td>
		      			<td>{$row.fecha|date_format:"%d/%m/%Y"}</td>
		      			<td>{$row.hora|date_format:"%I:%M"}</td>
		      			<td><a href="/evento/detalle/id/{$row.id}/" title="Ver Eventos de {$row.nombre}">Ampliar</a></td>
	      			</tr>
				{/foreach}
			</tbody>
		</table>
	</div>
</div>
<br><br>